"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function pathSplit(filePath) {
    let pathList = [];
    let pathSplit = filePath.replaceAll('/', '\\').split('');
    for (let i = 0; i < pathSplit.length; i++) {
        if (pathSplit[i] === '\\' || i === pathSplit.length) {
            pathList.push(pathSplit.slice(0, i + 1).join(''));
        }
    }
    return pathList;
}
exports.default = pathSplit;
